package com.css.fxfzypg.modules.baseData.service;

import com.alibaba.fastjson.JSONObject;
import com.css.fxfzypg.modules.baseData.queryParams.GeologicalQueryParams;
import com.css.fxfzypg.modules.baseData.entity.GeologicalEntity;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

/**
 * @author y1fan
 * @create 2022-08-16 13:49
 */
public interface GeologicalService {


    GeologicalEntity saveGeological(GeologicalEntity geologicalEntity);

    Object getGeologicalById(String id);

    void deleteGeological(List<String> ids);

    JSONObject getAllGeologicalByParams(GeologicalQueryParams queryParams);

    void exportExcel(HttpServletResponse response)throws IOException;

    void importExcel(MultipartFile file)throws IOException;
}
